package com.demo.demo01;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
@MapperScan("com.demo.demo01.mapper")   // 代替mapper包内所有@Mapper注解
public class Demo01SpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(Demo01SpringbootApplication.class, args);

    }

}
